package com.ftqh.security.login;

import org.springframework.web.bind.annotation.RequestMapping;

import java.security.Principal;

/*@RestController*/
public class UserController {

    @RequestMapping("/user")
    public Principal user(Principal user) {
        return user;
    }

}
